//
// This script is executed by Grails after plugin was installed to project.
// This script is a Gant script so you can use all special variables provided
// by Gant (such as 'baseDir' which points on project base dir). You can
// use 'ant' to access a global instance of AntBuilder
//
// For example you can create directory under project tree:
//
//    ant.mkdir(dir:"${basedir}/grails-app/jobs")
//

def configFile = new File(appDir, 'conf/Config.groovy')
if (configFile.exists()) {
	configFile.withWriterAppend {
		it.writeLine '\n// Tomcat Deploy config:'
		it.writeLine "deploy.url = 'http://127.0.0.1:8080/manager'"
		it.writeLine "deploy.user = 'manager'"
		it.writeLine "deploy.passwd = 'manager_password'"
	}
}